package com.bj58.ecdata.redis;

import java.util.Map;

public class JedisBean {

    public JedisBean() {
    }

    public Object getObject() throws Exception {
        return this;
    }

    public Class<? extends JedisBean> getObjectType() {
        return this.getClass();
    }

    public boolean isSingleton() {
        return true;
    }

    public Map<String, Integer> getDbIndexMap() {
        return dbIndexMap;
    }

    public void setDbIndexMap(Map<String, Integer> dbIndexMap) {
        this.dbIndexMap = dbIndexMap;
    }

    public String getMasterAddress() {
        return masterAddress;
    }

    public void setMasterAddress(String masterAddress) {
        this.masterAddress = masterAddress;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    private Map<String, Integer> dbIndexMap;

    private String masterAddress;

    private String password;
}
